import request from '@/utils/request';


export async function reqSysWorkload(data: any, options?: any): Promise<any> {
	return request('/api/v1/stat/workloadStat', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqSysDrugConsumStat(data: any, options?: any): Promise<any> {
	return request('/api/v1/stat/drugConsumStat', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqSysPassengersByPayType(data: any, options?: any): Promise<any> {
	return request('/api/v1/stat/passengerFlowStatByPayType', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqTyMessageList(data: any, options?: any): Promise<any> {
	return request('/api/sys/message/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyMessage(data: any, options?: any): Promise<any> {
	return request('/api/sys/message/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyMessage(data: any, options?: any): Promise<any> {
	return request('/api/sys/message/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyMessage(data: any, options?: any): Promise<any> {
	return request('/api/sys/message/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


